
<!DOCTYPE html>

<html lang='cn' xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>多文件上传</title>
</head>
<body>
<h2>上传文件</h2>
<form name="onfile"  action="onfiles2" method="post" enctype="multipart/form-data">

    <input type="file" name="img"><br>
    <input type="file" name="img"><br>
    <input type="file" name="img"><br>
    <input type="file" name="img"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>